home *** CD-ROM | disk | FTP | other *** search
- rem
- rem ****************
- rem * DEMOINDX.BAT *
- rem ****************
- rem
- rem Offers an ISINDEX document if no query arguments,
- rem else reports on the "results" of the query.
- rem
- rem Bob Denny (rdenny@netcom.com)
- rem 20-Feb-95
- rem
- set of=%output_file%
- if NOT "%1"=="" goto shoquery
- rem
- rem No query, signal server to do redirect to ISINDEX demo doc.
- rem
- echo Location: /wsdocs/32demo/isindex.html > %of%
- echo. >> %of%
- goto done
- rem
- rem There were query arguments. Generate plain text report (COMMAND.COM: BAH!)
- rem
- :shoquery
- echo Content-type:text/plain > %of%
- echo. >> %of%
- echo Here is what the server would have fed to the CGI search program: >> %of%
- echo. >> %of%
- echo Arguments: >> %of%
- echo %1 %2 %3 %4 %5 %6 %7 %8 %9 >> %of%
- :done
- echo -- end of report -- >> %of%
-
-
-